"""zhitang_web URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.1/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from app import views

from django.contrib import admin
from django.urls import path
from app import views

urlpatterns = [
    path('admin/', admin.site.urls),
    path(r'index/',views.index),
    path('get_openid/',views.get_openid),    #获取openid
    path('getEvents/',views.getEvents), #获取事件
    path('getEventCards/',views.getEventCards), #任务卡片
    path('commitSubTask/',views.commitSubTask), #任务卡片
    path('getEventStatus/',views.getEventStatus), #得到任务添加页面的完成和未完成事件
    path('modifyEventDetail/',views.modifyEventDetail), #进入事件修改页面
    path('insertLaunch/',views.insertLaunch), #事件发送获取
    path('android_login/',views.android_login), # 安卓登陆
    path('getDateEvents/',views.getDateEvents), #根据日历显示任务
    path('deleteEvent/',views.deleteEvent), #删除事件
    path('commitEvents/', views.commitEvents),  #提交完成和未完成的事件
    path('modifyPwd/', views.modifyPwd),  # 修改密码
    path('getMonitorEvents/',views.getMonitorEvents),   # 任务监控
    path('setNickName/',views.setNickName), # 设置昵称
    path('getNickName/',views.getNickName), # 获得昵称
]
